NTP fix + basic s0 pulse counting