Most victims of violence by the extremist group are Muslims, with thousands of people killed by the militants in Africa and the Middle East.