Python Find All Occurrences In Array, Calculate the .