Scala calorie counting