added store counter