Bug 1101492 - Improve ActionLogDB

Get the Object.keys(_dbSchema).length once saving a reference