I am Converting Abinitio ETl to Spark code...
I see the below functionality written in ETL side.
let int i=lookup_count("LKP_NAME",lkp_key);