on average how many times was the president's party listed as whig?
4