Make variables static; rename to ind_core_stats_get.