Updated template to display different messages depending on the number of
results.