Verify the match count with the displayed string.