Create a function which returns the number of true values there are in an array in c# code example Example: c# bool list count true return list.Count(x => x)