Calculations for method statistics