How many types of business transactions are there in accounting? Explain real and nominal accounts with examples.