Simple algorithm for heartbeat

Counter that increments on heartbeat values between 700 and 900