can we do without the `totalMatchNum`?

when we get the result we can just query `allMatches.length` for this