Fixed pagination (#21).

I extended the "/meals/count" method to take filters into account.