Find Number Of Occurrences In Array Python