int fann_get_total_neurons(resource ann);
fann_get_total_neuronswill return the total number of neurons in ann.
fann_get_total_neurons
See also fann_get_num_input, fann_get_num_output.
fann_get_num_input
fann_get_num_output
This function appears in FANN-PHP >= 0.1.0.