def ux_file_len(filepath):
p = subprocess.Popen(['<STR_LIT>', '<STR_LIT>', filepath], stdout=subprocess.PIPE,<EOL>stderr=subprocess.PIPE)<EOL>result, err = p.communicate()<EOL>if p.returncode != <NUM_LIT:0>:<EOL><INDENT>raise IOError(err)<EOL><DEDENT>l = result.strip()<EOL>l = int(l.split()[<NUM_LIT:0>])<EOL>return l<EOL>
Returns the length of the file using the 'wc' GNU command

    Parameters
    ----------
    filepath: str

    Returns
    -------
    float