code: protected void deleteRecordFromCounterColumnFamily(Object pKey, String tableName, EntityMetadata metadata,
          ConsistencyLevel consistencyLevel) {
          ColumnPath path = new ColumnPath(tableName);
  
          Cassandra.Client conn = null;
          Object pooledConnection = null;
          try {
              pooledConnection = getConnection();
              conn = (org.apache.cassandra.thrift.Cassandra.Client) getConnection(pooledConnection);
  
              if (log.isInfoEnabled()) {
                  log.info("Removing data for counter column family {}.", tableName);
              }
  
              conn.remove_counter((CassandraUtilities.toBytes(pKey, metadata.getIdAttribute().getJavaType())), path,
                  consistencyLevel);
  
          } catch (Exception e) {
              log.error("Error during executing delete, Caused by: .", e);
              throw new PersistenceException(e);
          } finally {
              releaseConnection(pooledConnection);
          }
      }
docs: Deletes record for given primary key from counter column family.
  
  @param pKey
  the key
  @param tableName
  the table name
  @param metadata
  the metadata
  @param consistencyLevel
  the consistency level