I'm trying to make a pig farm where a Mob Counter will detect if there are more than 4 (or 5) pigs it will activate the slaughterhouse (the opposite for the Breeder). My problem is that the mob counter emits a redstone signal with the strength equal to the number of mobs in its range. I was thinking of using the Programmable RedNet Controller to detect if the signal strength = 4 (or 5, maybe) and then output a redstone signal on another side, but I don't know what function I would use for that. Also, is there anything in ProjectRed I could use instead ?