def community_count(clustering):
    """
    Counts the number of community in a fairer way than simply using 
    len(clustering). Indeed, the former method counts single nodes as a 
    community while this is not considered desirable. Hence, this method
    counts the number of communities having 2+ nodes.
    """
    nb_communities = 0
    for cluster in clustering:
        if len(cluster) >= 2:
            nb_communities += 1
    return nb_communities
