use ESCount also for partitioned tables