matches function

Number of matches in ratings