Fix error in countTodo nodejs