Add helpers to the `Matches` type
Created by: camdencheek
We have a type for a collection of matches, and we have a few spots that contain inline logic for things that can be operations on this slice type. This adds Matches.Limit()
and Matches.ResultCount()
which better encapsulates the logic and simplifies the callsites.