I'm guessing that "amount" is not quantized ("number" is). Let me be absolutely clear that most native speakers will not notice the distinction (even pedants like me missed this one).
You'll also see people being pedantic about "less" versus "fewer," e.g. complaining about the "12 items or less" line being improper usage since items are quantized and therefore it should be "12 items or fewer."