loc counter for soft eng project