Script for counting LOC