<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_flat_size(self):
 """Returns the total length of all of the flattened variables. Returns: The length of all flattened variables concatenated. """

        return sum(
            np.prod(v.get_shape().as_list()) for v in self.variables.values())