Counting Calories

Has counting calories been effective in weight loss for anyone here? Hear mixed things about it