I could not get your code to give me the amount of data transfered.
$calc($wmiget(Win32_PerfRawData_Tcpip_NetworkInterface,2).CurrentBandwidth / 1000000) $+ MB/s
I tested to edit your code to get it, but it always return 0 . I guess i did somthing wrong..