New smartstore action: getDatabaseSize + mock smartstore implementation + new test