Added nearby agent counting to predator and agents