[storage] Added clear and getCount methods to Storage class.
Merge pull request #172 from mefallit/master

Storage class getCount and clear implementation