How can I count entities passed through the Enterprise Library object?
You should use the method count() of the corresponding port of the object. For example, if you have source object and want to know how many entities left its port output port out, type source.out.count() To know the name of the object’s port, please refer to the Enterprise Library Reference Guide, open the article describing this particular object and have a look at the icon at the top of the page – names of the ports are shown there.