def get_no_of_projects_each_year(org_name, DATA):
    """
    Returns a dictionary of the year and number of projects
    of a organisation and also returns the total number of
    projects
    """
    context = {}
    total_projects = 0
    for year in DATA.keys():
        if DATA[year].get(org_name):
            context[year] = len(DATA[year][org_name])
            total_projects += len(DATA[year][org_name])
    return context, total_projects