Bug 1034544 - [Loop][CallLog] ActionsLogDB Helper. r=borjasalguero

Please cache `keys.length`