With this block you can get a redstone signal out of inventory block based on specified item amount and condition. Item Counter will output a redstone signal if the specified condition is true.
To set count of item being compared against, refer to Phantom slot mechanic.