Insurgent and terrorist violence in Afghanistan increased sharply in 2007 , with over 8,000 conflict-related deaths and an average of more than 500 incidents per month , according to Secretary-General Ban Ki-moon .