Gazans and Israelis count cost of fighting