A dictionary I consulted said a 'number' is a 'quantity', so I looked up what quantity means and the same dictionary said it is an amount or number of some material or thing. Since quantity and number mean the same thing, this definition won't do at all.
So, what is a number or quantity?
It depends on the context. The word number could for example mean integer, rational number, real number or complex number, all of which have precise definitions. In some situations it could even mean something like "an element in some particular ring or field", again this is well-defined. There are lots of other "number systems" in use as well, and it's probably impossible to list all of them.
The problem with a dictionary definition is that they don't build the language using undefined terms, axioms and definitions.