python numpy: how to count the number of true elements in a bool array,"sum([True, True, True, False, False])"