Python Count True Values In Array Literal An Array Literal Was Missing