def get_num_jobs_txt(driver): 
    """Get the number of jobs text. 

    It turns out this acts slightly different on OSX versus Ubuntu, and this 
    function should alleviate that. The order of the two elements with 'page-title'
    is swapped in Ubuntu and OSX, and as a result the best way to do this is 
    grab both elements text and concatenate. 

    Args: 
    ----
        driver: Selenium webdriver

    Return: 
    ------
        num_jobs_txt: str
    """

    page_titles = driver.find_elements_by_class_name('page-title')
    num_jobs_txt = ''.join([page_title.text for page_title in page_titles])

    return num_jobs_txt