USB reboot after Rx bytes 50GB

Litle help with script to reboot USB port after reaching 50GB of downloading

comand to reboot USB is
system/routerboard/usb/power-reset duration=5 “antonsb” help me with that.
how to view rx bytes on LTE interface in terminal