Calculate the number of years of incumbency in each session of Congress