<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def calculate_report_size(self, current_type, report_header):
 """Determine the size of a report given its type and header"""


        fmt = self.known_formats[current_type]
        return fmt.ReportLength(report_header)