The node you are looking for is at gnat_rm/implementation_defined_attributes attribute-range-length.