fix bug #4672

For COUNT query if number of rows returned is more than 1 which happens when we have GROUP BY clause , in that case we need to have table nav-bar and sort-table options.

Signed-off-by: Rakesh Kumar <rakeshkumar4294@gmail.com>