Add total_bytes method
Add tests for total_bytes
Merge pull request #2 from marjinal1st/master

Add total_bytes method