I'm trying to understand why
{=COUNT(IF({TRUE, FALSE, TRUE}, {3,4,5}))}
returns 2 (which is the expected result) but the following returns 6
{=COUNT(IF({TRUE,FALSE,TRUE}, A1:A3))}
Here is a snapshot of the result

The formula evaluation shows what is happening

NOTE: This is a simplified version of a problem I am facing(i.e: it isn't just a curiosity question)