Custom route & controller method - throws 404

Aaah I got it- just moved the route up in the routes.json file - before /:id and just after /count.

Problem solved.