count lines instead of #