Python Count Items In An Array