sizeOf() method can be used to get rows count from CSV File and check in Choice component in MuleSoft.
Please check the following sample Flow for reference.
Sample Flow:

Set Variable Configuration:


sizeOf() method can be used to get rows count from CSV File and check in Choice component in MuleSoft.
Please check the following sample Flow for reference.
Sample Flow:
Set Variable Configuration: