def titleType(dataFrame):

    """
    Count how many series and movies exists in the dataFrame.
    Used for mostWatchedType visualization

    Parameters:
        dataFrame: string
            The name of the dataFrame the user wants to work with.

    Returns:
        a dataFrame
    """

    dataFrameTypeCount = dataFrame['Series / Movie'].value_counts()
    dataFrameTypeCount = dataFrameTypeCount.to_frame()
    dataFrameTypeCount = dataFrameTypeCount.rename(
        columns={'Series / Movie': 'Count'})

    return dataFrameTypeCount