def _get_freq(name):
try:<EOL><INDENT>counts = int(name.split("<STR_LIT>")[<NUM_LIT:1>])<EOL><DEDENT>except:<EOL><INDENT>return <NUM_LIT:0><EOL><DEDENT>return counts<EOL>
Check if name read contains counts (_xNumber)