Palestinians count casualties as Israeli warplanes hit targets in Gaza in retaliation for attacks that claimed eight Israeli lives.