• This works only if the stats are up to table. It's ok if an estimate is all you need. However if you need accuracy, you need to use count(*).