Counting calories, whether for weight maintenance or loss or even gain, is fine, and it was fine for me. It is OK as long as it is done as an estimate. But the more you do, the more obsessive you may become about the numbers. Eating just never feels like eating after you start meticulously counting. I personally felt like I was eating numbers, not food.
If you can, try to merely estimate how many calories you are taking in. Do not obsess about it. Dieting should never force you to count like an accountant in hopes of not going over your expenditure. Record generally what you like to eat, look up the general caloric values, and remember them. Eat when you are hungry, and eat slowly. I'm sure you've all heard this advice before, and it's to be read on every kind of health site or book.
But please, above all, do not become a calaccountant. It can lead to many psychological problems, like, in my case, a beginning stage of anorexia nervosa.