count nonagram metrics and fixed bug with reload data