Feature implemented
refactored total_match_count