Adding network word count code