Similar Items: The Polynomial Counting Capabilities of Message Passing Neural Networks