Added a getNumMatches function in the DataReader class