Collect per-invocation and total byte count stats for each method