def neighborhoodCounts(subscripts, reshaped, values):
    """
    Compute the number of neighbors of each label directory adjacency to a
    vertex.

    Parameters:
    - - - - -
        subscripts : indices of directly-adjacency vertices
        reshaped : reshaped data volume
        values : accepted label values
    """

    labels = list(reshaped[subscripts])
    counts = {}.fromkeys(values)

    for v in values:
        counts[v] = labels.count(v)

    return counts