Added cardinality aggregator to elastic, also fixed page count