Allow seen_count to be bound to a variable for dealing with optional arguments