length

open external override val length: Int(source)

The length read-only property of the DataTransferItemList interface returns the number of items currently in the drag item list.

MDN Reference