Use counter instead of localtime for tab history