Added randomTotal count