Updates result summary text

Creates a result summary text helper to format the text that shows the
total results tally for a particular query.