Total Rx Tx via SNMP

Hey guys,
is there anyway to get via SNMP (or even without SNMP) the total of Rx and Tx bytes that pass through the router? In fact I need the sum of Tx Rx interfaces…
Thanks in advance