public Long sCard(byte[] key) {
   try {
     if (isPipelined()) {
       pipeline(pipeline.scard(key));
       return null;
     }
     return client.scard(key).data();
   } catch (Exception ex) {
     throw convertSrpAccessException(ex);
   }
 }