It seems highly unlikely, therefore, that animals living under natural conditions would confront ecological problems that would select for greater numerical competence.
(ecological problems; would select; for greater numerical competence)
ecological problems
would select
for greater numerical competence