Counts the number of occurrences of the specified boolean value in the BitArray.
The number of occurrences of the specified boolean value.
The boolean value to count.