Add the sketch to count step on the electronic rule. This software is missing counts...