Keeping track of items

How do you make it so that once you reach a certain amount of items (like 3), it sends a signal. I tried this with an inventory item manager, but you can’t connect wires to it.

Make it so that when something happens, a checker checks if # of items in inventory=3