Python Count Elements In Array With Of 2