Use the word amount with quantities that cannot be counted and number with quantities that could be counted one-by-one.
Examples: He had a small amount of ammunition left.
He had a small number of bullets left.
This follows a pattern similar to fewer and less.