Accept regular expressions in countIf
Simplification of countIf expression arguments