perf improvement to RMDatabaseCache when counting existing tiles
Merge pull request #505 from mglasgow/develop

perf improvement to RMDatabaseCache when counting existing tiles