Count True Elements In Array Python