Create filter_by_cnt.cpp