In init workflow get extracted data table in n Out argument like this
Then have a Local variable in Main.xaml as WIList and assign WI5 items to it like this

Then while calling GetTransactionData.Xaml from GetTransactionData state pass this variable as in argument
Then you can check the value of in_WIList.Count in GetTransactionData.
I hope this helps.
Thanks,
Prankur

