Lua script to get the statName from achievements ?

Hi,
In the ui/achievements we can see that the game saves for each character different “statName” with their values “statCount” for example :
statName,ENEMY_HEROES_KILLED,
statName,ELITE_OR_ULTIMATE_ENEMY_BOSSES_KILLED,
statName,ENEMY_MONSTERS_KILLED,
statName,NUM_ITEMS_CRAFTED,
statName,NUM_RELICS_CRAFTED,
statName,NUM_ONESHOTCHESTS_OPENED,

Is there a way to get these values with a Lua script ?

For example I would like to know how many heroes and boss monster a character has killed, these values are also visible in the character screen, how can I get those with a lua script ?

Thanks