Fix for bug 4027
Get exact row count only if approximate row count
is less than MaxExactCount.
Signed-off-by: Shivam Dixit <shivamd001@gmail.com>