Count the number of cells that contain TRUE, FALSE, or one of the two. This lets you count the logical values in a range in Excel.
Count Cells that Contain FALSE
Count Cells that Contain TRUE or FALSE
=COUNTIF(A1:A5,TRUE)
A1:A5 is the range in which to count; change it to fit your data.
TRUE is the value that we want to count. Note that this does not require quotation marks around it; TRUE and FALSE are special elements in Excel.

Result:

=COUNTIF(A1:A5,FALSE)
A1:A5 is the range in which to count; change it to fit your data.
FALSE is the value that we want to count. Note that this does not require quotation marks around it; TRUE and FALSE are special elements in Excel.

Result:

Essentially, we now combine the last two examples into one formula.
=COUNTIF(A1:A5,TRUE)+COUNTIF(A1:A5,FALSE)

Result:

This is pretty basic COUNTIF stuff combined with the logical values of TRUE and FALSE and, as you can see, it's not complex. The one thing to remember is that you do not put quotation marks around TRUE and FALSE; now, you can get away with doing that, but it's not necessary.
Download the sample file for this tutorial to work with these examples in Excel.
Follow along with the tutorial by downloading the files used in it. (Completely Free)