View count formatter logic