score:1

Considering your example:

c is a output neuron where as a and b are input neurons to it.

and e is again a output neuron and input neuron to e are c and d.

Your network would look like. enter image description here

Total neurons are 5, 3 input, 1 hidden and 1 output.

Hope this helps, feel free to ask any further questions.