public Long zCount(byte[] key, double min, double max) {
   try {
     if (isPipelined()) {
       pipeline(pipeline.zcount(key, min, max));
       return null;
     }
     return client.zcount(key, min, max).data();
   } catch (Exception ex) {
     throw convertSrpAccessException(ex);
   }
 }