Fewer refers to things that are countable, whereas less generally refers to things that are not countable.