The HTMLFormElement.length read-only property returns the number of controls in the
HTMLFormElement.length
MDN Reference