<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def indim(self):
 """ The number of action values that the environment accepts. """

        indim = self.numOffbids * len(self.generators)

        if self.maxWithhold is not None:
            return indim * 2
        else:
            return indim