script to count no of register