add zcount/zcountall commands