It doesn't.  You should read the API documentation.  It returns the number of results as a value, with at most 25 results at a time, with a way to call it again to return the next page of 25 results.  You need to keep calling GetMatchHistory to get the next page, until you've read them all.  Otherwise, you'll be missing a lot of results.