Gravar e-mail: Target counting algorithm via local signal recovery in sensor networks