select count(*) from /test/foo where v_float>=2 group by v_text /** output() count(3) match(count,2) match(count,3) match(count,4) **/ ; select v_text, count(id) from /test/foo where v_float>=2 group by v_text having count(*)>2 /** output() count(2) match(v_text,'3',count,3) match(v_text,'4',count,4) **/ ;