When do food fruit and other words become countable nouns and uncountable nouns? Including drink, what I need is the method to solve this kind of problem and the judgment method

When do food fruit and other words become countable nouns and uncountable nouns? Including drink, what I need is the method to solve this kind of problem and the judgment method

I'm hungry. I want some food.There Is some fruit on the table foods.Fish ,meat,chicken,which one would like?All kinds of fruits a...