package body Counters is
   procedure Step (By : Natural) is
   begin
      Count := Count + 1;
      Total := Total + By;
      Last_Step := By;
      Steps_Taken := Steps_Taken + 1;
   end Step;

   function Average return Natural is
   begin
      return Total / Count;
   end Average;

   procedure Reset is
   begin
      Count := 0;
      Total := 0;
      Steps_Taken := 0;
   end Reset;
end Counters;
