def METHOD_NAME(xmlsummary):
    '''return a dictionary of the number of files the xmlsummary saw as input'''
    returndict = {}
    for file in xmlsummary.file_dict()['input'].values():
        if file.attrib('status') in returndict:
            returndict[file.attrib('status')] = returndict[
                file.attrib('status')] + 1
        else:
            returndict[file.attrib('status')] = 1
    return returndict