Even more efficient count lines