add count in history apge