simple line count script for tests