Increment access count and fix typo in entity