Try choosing "Substring" pattern matching rule, it will check whether the response contains the pattern as there could be non-printable characters such as line breaks or other text in addition to the pattern you're using as the expected response.
Alternatively you can extract the number with i.e. Regular Expression Extractor and use the variable as the expected value: