Compares the kind of restriction and the count to determine whether it is valid.
| restr |
The restriction kind |
| count |
The number of restrictions |
|
Whether it is valid or not. -1 indicates invalid or more analysis. 1 indicates pass and 0 or 2+ indicates fail. |