New Zealand counts the costs of deadly floods