fix key count printer