Can't use count function in formula

Can't use count function in formula

I am trying to use the count function in a formula to display the total number people who entered that they were of a particular gender.

I insert a formula field, and enter the following as the Formula Expression:
count( Survey_Data_Entry[Gender=="Male"])

But when I try to save the field, I get the following error:
No rows found for the table PersonalityConfiguration in this DataObject
marshall.sutton