calculates refresh time for pages with more than 4 charts