Added support for querying count (ie. api/v1/todos/count/?done=true #=> {count: integer}).