detect motion and count the number with voice