Is there a way to reference the count of records processed through a tMap component output in Java in a similar way we can with a database component, e.g. ((Integer) globalMap.get("tPostgresqlOutput_1_NB_LINE"))?
A tMap can have many inputs and outputs. So which count you want?
The way to do it is to log the amount of rows flowing through each link. So each input and output link, you can click on the link and turn on the monitoring for the link.