def wc(file):
    """Return the newline, word and character number."""
    file = open(file, "r")

    nl, w, ch = 0, 0, 0

    for line in file:
        nl += 1
        w += line.count(" ") + 1
        ch += len(line)
        
    return nl, w, ch