Scaling in a network model of a multispecies ecosystem