# How to differentiate the usage of "number" in situations that "number" represents "index" and "quantity" respectively

Number has both meaning of "index" and "quantity". I am often confused by this in writing sentences such as:

1. The conversion between the number of books and total pages is simple. (quantity)
2. The number of book on that shelf is 5 counting from left. (index)

My questions are:

1. Is the second sentence grammatically correct?
2. How to discriminate these two scenarios?

UPDATE:

According to this dictionary, number can be used as "position in series" or "quantity". For sentence:

``````Room number is 5
``````

Is that correct to turn this statement into questions like:

``````what is the number of room? (what position)
``````

As Stuart comments: "Using singular vs plural indicates whether you're talking about book number 5 or five books.", if I want to question the quantity of rooms, should I say:

``````what is the number of rooms? (what quantity)
``````
• If you're looking for clarity, why not use 'quantity' and 'index' (or position) as appropriate? Feb 1, 2021 at 8:58
• For (2), we would say "The book is fifth from the left on that shelf". But we can say "The book is Number 3 in a series of 5". It is usually clear from the context which sense of 'number' you mean. Feb 1, 2021 at 9:06
• @KateBunting I want to emphasis the number(index) in the second sentence but the book itself. Or, is there a more precise expression which makes emphasis on the index instead of the thing for such a situation. Feb 1, 2021 at 9:22
• What do you mean by "discriminate the two scenarios"? The two sentences clearly have different meanings. Using singular vs plural indicates whether you're talking about book number 5 or five books. I think you need to explain in more detail what you're trying to do and what your problem is. Feb 1, 2021 at 10:02
• Books are not normally identified by their position on a shelf, if you must then use an ordinal number: the first, the second, the fifth, the tenth etc. Feb 1, 2021 at 11:50

Grammatically, for the singular 'index' sense, you would typically ask "what is the room number?, or "what is the number of the room?".

For the plural index sense, you would ask "what are the room numbers?", or "what are the numbers of the rooms?".

When asking a similar question in the quantitative sense, you often don't use the word "number", but simply ask "how many rooms?".

You could ask "what is the number of rooms?", but this is generally considered an improper phrasing.

If you are expressing a statement rather than asking a question, for the index sense you would say "the room number is five".

For the quantitative sense you would say "the rooms number five", but here the word "number" is used as a verb, and this phrasing tends to be considered literary, rhetorical, or emphatic.

It's not uncommon in administrative contexts to find abbreviated questions. For the index sense: "room number?", "room numbers?", "number of room?", and (unconventionally) "numbers of rooms?".

For the quantitative sense: "number of rooms?".

These cases are distinguished fundamentally when number is singular whilst rooms is plural - in other words, you're asking about one number in relation to many rooms, which can only mean the quantity.