Look at a bowl of apples and a jug of water. Both hold an amount. You can tell the bowl has some apples and the jug has some water, even before you know how much. That "some amount of a thing" is a quantity. A quantity answers two questions: how much? And how much of what?
There are two kinds of stuff. Apples, shoes and ducks come in separate pieces, so you find how many by counting: 1, 2, 3, 4 apples. Water, sand and string do not come in pieces. You cannot count water, but you can fill a cup with it again and again: 3 cups of water. Counting and measuring are the two ways to pin a quantity down.
The "of what" part matters. 4 apples is less than 6 apples, so those two can be compared. But 4 apples and 6 cups of water are different kinds of stuff. Asking which is more makes no sense until you choose a way to compare them, such as by how heavy they are.
A number on its own is not a quantity. The 4 printed on a page is just a number. It becomes a quantity when it is joined to something: 4 apples, 4 steps, 4 cups.
Think of it like this. A quantity is like the label on a jar at the store. It tells you how much is inside and what it is, such as 12 cookies or 2 cups of rice. A label that only said 12 would leave you guessing what you were buying.
Core idea. Quantity is the raw 'how much' of a thing, before you pin it to an exact count.