Can you change your formula to

if {TempCusTbl.CF_PREFIX}='Mr.' then
1
else
0

And then sum that field. This will give you the count.