Show number of matches in find HUD

Calculate the number of matches for a find mode query, and show it in the HUD (resolves #969).

This implementation uses the number of text matches on `document.body.innerText` rather than repeated calls to `window.find` for plain text queries (see PR #1021).
Shouldn't this comment be in the "else" block?