added an option to count the number of bytes in the output file (needed for ACES quota checking)