count number of active channels
read chan stats
fix format
Merge pull request #5 from otalk/chan_stat

adds channel statistics