how to check the character count of a file in python,os.stat(filepath).st_size