package body Counters is
   procedure Bump (Step : Natural) is
   begin
      if Count <= Limit and Step <= 10 and Limit <= 10_000 then
         Count := Count + Step;
      end if;
   end Bump;
   procedure Apply (A : not null Action; Step : Natural) is
      Before : constant Natural := Count;
   begin
      A (Step);
      pragma Assert (Count >= Before);
   end Apply;
end Counters;
