Not so sure what you mean by 'got the similar value'.
I tried your script in a modified form (I removed the divide by 10M to get to bits per 10 seconds) and that produces something like this:
Cernet egress rate: 7102224 bps
Cernet ingress rate: 6233293 bps
Cernet egress rate: 9516807 bps
Cernet ingress rate: 8491288 bps
Cernet egress rate: 7189673 bps
Cernet ingress rate: 6194052 bps
If you want to know why the ingress and egress are similar in magnitude, that may be because traffic is tunneled. Most of the client traffic that comes in on the interface via the AP tunnel, will go out almost instantaneous as decrypted client traffic. So unless you have the client VLANs on a different physical interface than the APs, you will see this pretty symmetrical traffic pattern.
You will see similar on the controller itself:
(md-7005-01) #show interface counters
Port InOctets InUcastPkts InMcastPkts InBcastPkts
GE0/0/0 56111156670 331810222 46136913 258436
Port OutOctets OutUcastPkts OutMcastPkts OutBcastPkts
GE0/0/0 43991147096 302752988 43813062 13238
Will this be an answer to your question??