<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getCorrect(self, tolerance):
 """ Returns the number of nodes within tolerance of the target. """

        return Numeric.add.reduce(Numeric.fabs(self.target - self.activation) < tolerance)