Number of autonomous agents in a neural network