package Counters is
   type Counter is private
     with Default_Initial_Condition => Value (Counter) = 0;

   function Value (C : Counter) return Natural;
private
   type Counter is record
      Count : Natural := 1;
   end record;

   function Value (C : Counter) return Natural is (C.Count);
end Counters;
