modifies spec(counts sent packet only) and get counter from the real counter.

modifies spec, because TrafficMonitor counts only number of sent packet and packet sizes.
implemented the method.
the method was a stub which returns only specified number.