Updated clountLines script