count_mutual_node_pairs function

Get the number of mutually-connected node pairs