Added a __len__ method to SettingStore:

Failed on templating without __len__.