Trace and Learn Reverse Counting