def get_nums(deps):
    """
    Get number of prerequisite names for each name in dependencies.
    """
    nums = {}
    for key, val in deps.iteritems():
        nums[key] = len(val)

    return nums