Self-Stabilising Target Counting in Wireless Sensor Networks Using Euler Integration