In a large saucepan, melt butter then saute onions over medium high heat until it starts becoming translucent. Add the garlic and rice and saute for about two minutes.
Add remaining ingredients, except for the corn, and bring to boil, then cover and turn heat to low. Cook for about 40 minutes (follow instructions on rice).
When the rice is finished cooking, mix in the corn and keep covered until ready to serve.
Notes
*I like using frozen corn because it cools the rice down quicker.