fixup! use ESCount also for partitioned tables