how many wars were there