Total Productivity of an Ecosystem