<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def __get_ttl(self, item: str) -> int: """ Get the amount of time a specific item will remain in the database. :param str item: The item to get the TTL for :return: Time in seconds. Returns None for a non-existing element. :rtype: int """

        connection = self.__get_connection()
        ttl = connection.ttl(item)
        BlackRed.__release_connection(connection)
        return ttl