Again, not necessary, but you could move the clear and report calls out of the if/elses and just do it once here:
```
$this->statHat->reportCount(1);
$this->statHat->clearAddedStatNames();
```