add zcount command