Finished the filtering and counting of the valid objects in a track.