Currently, h_count() doesn't take advantage of the count information from bitmap, instead it loads up all columns and counts them in the memory. That's not efficient and wasteful.
With in-stage combiner and CountDB introduced in commit 66f0c7bbaa1ab1241282a8436ebd2c79fc36bbe2, h_count() doesn't suffer from this performance issue any more.
Currently, h_count() doesn't take advantage of the count information from bitmap, instead it loads up all columns and counts them in the memory. That's not efficient and wasteful.