How many years has Barack Obama been in the U.S. senate?

3 years