Create a function which returns the number of true values there are in an array.
true
countTrue([true, false, false, true, false]) ➞ 2 countTrue([false, false, false, false]) ➞ 0 countTrue([]) ➞ 0
0
false