Counting calories is how people who depend professionally on their weight, like dancers and athletes, hit their target weight at their target time. It works.
However, most people do not want to live the lives of professional dancers and athletes; such lives are often physically unpleasant. So they need diet plans that take psychology into account, not just physics.