How many U.S. presidents have been named James?

How many U.S. presidents have been named James?