add function to query cut count.