count_s_connected_cmpts function

Get the number of strongly-connected components