Yes, as long as you remain in a calorie deficit and accurately and honestly track what you eat, you will lose weight - barring the interference of medications etc. that is a biological certainty.
Calorie counting has many advantages - you can eat whatever you like as long as you factor it in; you can adjust your allowance over a day or two to allow for, e.g. a special meal out.
If you weigh and measure to begin with, you can then just measure once you know how many calories are in a cup of rice and so on. & pre-packed foods state a calorie value, so it's not complicated to do.
Most commercial diets boil down to the basic principal of consuming fewer calories, they just dress it up in different ways by points counting or restricting foods with higher calorie counts or giving part of your allowance in the form of meal replacements.
The biggest disadvantage with pure calorie counting is that it doesn't automatically give you a healthy diet. You could calorie count by eating 1000 calories a day of Mars Bars and it would work, but your health would plummet. So you do need to be sure you are getting a balanced diet, which generally means not using too much of your calorie allowance on high fat/high sugar foods.