def getByteStatistic(self, wanInterfaceId=1, timeout=1):
        """Execute GetTotalBytesSent&GetTotalBytesReceived actions to get WAN statistics.

        :param int wanInterfaceId: the id of the WAN device
        :param float timeout: the timeout to wait for the action to be executed
        :return: a tuple of two values, total bytes sent and total bytes received
        :rtype: list[int]
        """
        namespace = Wan.getServiceType("getByteStatistic") + str(wanInterfaceId)
        uri = self.getControlURL(namespace)

        results = self.execute(uri, namespace, "GetTotalBytesSent", timeout=timeout)
        results2 = self.execute(uri, namespace, "GetTotalBytesReceived", timeout=timeout)

        return [int(results["NewTotalBytesSent"]),
                int(results2["NewTotalBytesReceived"])]