The X and D descriptors are used to specify the total numbers of connections (including implicit hydrogen atoms) and connections to explicit atoms.
As originally defined by Daylight, the R descriptor is used to specify ring membership.