The Coarea Formula For Metric Space Valued Maps