>But this is confusing. What is the number of marked messages I see when I click on the Agent button on the toolbar?
The marked threads and the marked messages are two different things. The first one is the list of threads you wish to grab messages from it. Thus, the second list is the rest.