def Count(Spaces):
    """
    returns tuples *(space, count)* where *count* states how often *space* occurs in *Spaces*.
    """
    
    dummy = [tuple(sorted(x.items())) for x in Spaces]
    unique = set(dummy)
    result = []
    for x in unique:
        result.append((dict(x), dummy.count(x)))
    
    return result