Implement a new feature in the application that allows users to manage their tasks effectively. Specifically, you need to create a TaskManager class that handles the following functionalities:
Adding Tasks:
The TaskManager should provide a method called add_task(task_name: str) -> None, which takes a string argument representing the name of the task. This method should add the task to an internal list of tasks.
Retrieving Tasks:
Implement a method called get_tasks() -> List[str], which returns a list of all task names currently managed by the TaskManager.
Removing Tasks:
Implement a method called remove_task(task_name: str) -> bool, which takes a string argument representing the name of the task to be removed. This method should remove the task from the internal list and return True if the task was successfully removed, or False if the task was not found.
Counting Tasks:
Create a method called count_tasks() -> int, which returns the current number of tasks in the TaskManager.
Task Uniqueness:
Ensure that a task cannot be added more than once. If a task with the same name already exists in the list, the add_task method should not add it again.
Please place your implementation of the TaskManager class in the /app/ directory. Ensure that your code passes all provided tests related to these functionalities.
The expected internal structure for the TaskManager should be:
Make sure to adhere to Pythonic coding conventions and include necessary imports. Your solution should be ready to integrate into the existing application structure.