Free-ranging dogs assess the quantity of opponents in intergroup conflicts