Checks the number of restrictions in Component.
The Component to be checked
The number of restrictions in this