this is the same as the first block without the check_quota("bucket"...).

It could be written:

```
bucket_stats_cache.get_stats(...).
...
if (bucket_quota.enabled) {
  check_quota("bucket")...
}
```