Using the code below to query enter in a value on a webform and hit submit:

Please Login or Register  to view this content.
Looking have the code modified so that after the results are displayed in a new webpage, it gives me the result count to the right of Sinput. So far, have not figured it out. The result page source code is as follows:

Please Login or Register  to view this content.
In scenario above, looking for value to show in Excel as (2 results found). Also, note for queries that have no result, that line in the web source looks like this:

Please Login or Register  to view this content.
In HTML code above had to get rid of < and > because of web forum security. Any ideas? Tried a few things and no luck. Thanks.