Change default value to None, and only calculate the sum if you ask for it
Merge pull request #12449 from jacksontj/develop

Don't get the sum of the file for all stats calls