code: void deleteResource(String id) throws IOException {
      storeWithRetries(() -> {
        datastore.delete(datastore.newKeyFactory().setKind(KIND_COUNTER_LIMIT).newKey(id));
        return null;
      });
      deleteShardsForCounter(id);
    }
docs: Delete resource by id. Deletes both counter shards and counter limit if it exists.
  
  <p>Due to Datastore limitations (modify max 25 entity groups per transaction),
  we cannot do everything in one transaction.