Fixed errors in Storage.count() queries.