Hi Dinghui, Teacher Tim gave you a good answer.
Note that a) is something we cannot necessarily limit. For example, "he is doing work to the best of his ability". We can't count his ability or limit it, in a relative sense.
Note that b) is something that is limited in what we are describing therefore it is countable. For example, "a work of art."