case change
Scaffold query counters script
Define API
Implement query API
Load entity API