<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _compute_search_spaces(self, used_variables):
 """Returns the size of each domain for a simple constraint size computation. This is used to pick the most constraining constraint first. """

        return tuple(len(domain) for name, domain in self._vars.iteritems())