Add a debug information about the counter
Repair api by introducing a new pkg_ini() and make pkg_init() call pkg_ini