adding total_match_count