API: Make the count route generic
Update README file