Japan counts the cost of Typhoon Hagibis