Python Count Occurrences In Numpy Array Indexing