how many types of loan