Make sure profile_cnt is initialized.