def count_files_index(index):
    """Return number of file to download are upload.

	Parse languages and letters from the given index.

	:return: int

	"""
    nb_files = int()
    for language in index:
        for first_letter in index[language]:
            nb_files += len(index[language][first_letter])
    return nb_files
