Replace Todo.all.count to Todo.count