There is a dynamic object with the item_description_
key suffix index.
In addition to these keys, there are other different keys.
const input = {
...
item_description_1: "1"
item_description_2: "2"
item_description_3: "3"
...
}
How can I get the counts of the item_description_
keys? Expected result should be 3 in the above example.