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