Add stream summarization script

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