Bug 1101492 - Improve ActionLogDB

Cache `aObjectStores.length`