Python Count How Many True In Array Javascript W3schools