Add stream summarization script



<!---
@huboard:{"order":151.0,"milestone_order":257,"custom_state":""}
-->

I vote bytes.