Add utilities for counting lines and a default toString()
Add utilities for counting lines and a default toString()