reducer calculates total click, total impression