Python Array Count Elements In Array