Like the character amount on each message you send? Or the total amount of messages sent and receive?
If it is character amount you can turn on an option located in Settings -> Messages -> Character Count
If it is messages sent and received you have to bug your carrier about this info as the iPhone doesn't keep track.
*Edit* as said above *3282# works for AT&T but not all carriers.