Fixed counting var in boosted obs.