size

@get:JvmName(name = "sizeShort")
val ClosedRange<Short>.size: Int
@get:JvmName(name = "sizeByte")
val ClosedRange<Byte>.size: Int

Returns the size of this range, from end inclusive to start