Python Count Elements In Array Python Question