different method of counting records