Python Count True Values In Array Literal An Array Using Factors