Show the number of results
Prepare SQL statement only once