Python Find Number Of Occurrences In Array