Personally, I’d go for something like /api/messages?aggregate=count (or, if you prefer, count=true), as it seems the most RESTful option to me. It’s quite easy to have Ember pass in an additional query param: this.store.findAll('message', { aggregate: 'count' })
.
Then your API could return the metadata and an empty array of objects.