How much was the total investment in renewable energy in 2012