The tricky part about counting calories is the fact that not all foods have the same amount of calories.
Foods that are higher in fat have more calories, given that 1 gram of fat is 9 calories, whereas protein & carbs have 4 calories each per gram.
In addition, carbs & fruits/veggies tend to be much more filling, yet less calorie dense.
This means that you can consume a much higher volume of these foods and feel more full and satisfied.
This is why it is important that you strategically eat foods that are less calorie dense so you can avoid the constant feeling of hunger.
That being said, you should not be completely avoiding all the foods on the left side of the diagram.
Rather, eat a balanced diet, while keeping in mind which foods can help you feel full for longer without consuming a large amount of calories.