Countlines script