<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def total_num_lines(self):
 """ Return the total number of lines in the diff for which we have coverage info. """


        return sum([len(summary.measured_lines) for summary
                    in self._diff_violations().values()])