added simple CountIf metric