A farmer has 3 fields. Each field has 9 rows of corn. How many rows of corn does the farmer have in total?