How Much Renewable Energy Do We Need?

How much wind, solar, hydro etc. would each country need to cover all of its primary energy use with renewables?