<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_stats(self):
 """Retrieves the bus statistics. Use like so: std_data: 0, std_remote: 0, ext_data: 0, ext_remote: 0, err_frame: 0, bus_load: 0.0%, overruns: 0 :returns: bus statistics. :rtype: can.interfaces.kvaser.structures.BusStatistics """

        canRequestBusStatistics(self._write_handle)
        stats = structures.BusStatistics()
        canGetBusStatistics(self._write_handle,
                            ctypes.pointer(stats),
                            ctypes.sizeof(stats))
        return stats