Tracking number of matchings