If the coordinates of points A and B on a number line are 1 and 7 respectively, then the distance d(A,B) is __________ units.