fix ember.js flags count cache