Your question is a bit confusing, I'm not really sure what you're asking.
When counting calories, you just need to look at the nutritional panel on food packets. It will say "Energy" and then how many calories/kilojoules it has. If it is only listed in kilojoules, simply divide that number by 4.2 and you will get the amount of calories.
Once you get a bit of a background in nutrition, you will know how much fat/sugar is too much, say per 100g. It is good for the food you are eating to be low in saturated fat (monounsaturated is a good fat, so dont put everything back that just
appears to be high in fat - read the breakdown first), reasonably low in salt and sugar.
Like I said, I'm not sure exactly what your question was asking, but I hope this helps
