Use the same regex to determine number of matches