It seems you misunderstood the usage of UpdateCounter, UpdateCounter is only used for debugging purposes, when you use UpdateCounter in flow then counter option at NiFi--Humburgenr Menu will give you the counter details.. you can not reuse or call these details on any other processor.