Checks if there are any matching rows for a given SQL condition by
executing an SQL select statement, using any currently free connection
from the pool.
Executes an SQL "SELECT COUNT(*) FROM" statement, returning the number of
rows that match the condition, using any currently free connection from
the pool.