Count number of true booleans in array