Slide the number of inputs and outputs and watch the weight count change. Each link between them is one weight, so the total is inputs times outputs.