Phillip B-M offered a very good explanation of something which even native English speakers have huge difficulties with!
For example in Australia we have express aisles for purchasing groceries at the supermarket, which are labelled "10 items or less" - this is grammatically incorrect! It should be "10 items or fewer", because the word "less" works the same way as "little" or "a little".
Money is a good example: you have "less" money than someone, or "little" money, because "money" is a singular, a concept. You have "fewer" dollars than someone because you can count dollars separately. Similarly you have "a lot" of money, or "more" money than someone else, because you have "many" dollars.