Could donuts be quantified in terms of mass instead of number? explain.?

I don't know why they couldn't. You might get a part of a doughnut. After all, candy is sold by the pound.