This method of the IntRanges Class retrieves the size of the IntRanges
public int size();
Returns the number of elements in the object.