FireGento_MageMonitoring_Helper_Data::getTotalSize

Returns total size in bytes of $dir, also supports files.

Returns false if os native way of getting dir size is not available. Source: http://stackoverflow.com/a/18568222