CountIF Aggregated Formula not working

CountIF Aggregated Formula not working

I'm getting the following Alert Message when trying to create a simple countif() aggregate formula.....

Datatype mismatch for the given formula. Please choose proper datatype.

What is the issue?   

countif("textfield"='stringvalue') 


thank you