def METHOD_NAME(self, container: Size, viewport: Size, width: int) -> int:
    """Gets the height (number of lines) in the content area.
    Args:
        container: Size of the container (immediate parent) widget.
        viewport: Size of the viewport.
        width: Width of renderable.
    Returns:
        The height of the content.
    """
    return self.virtual_size.height