Find count of columns in a file using Talend?

 Requirement:

We have a file consists columns with comma delimiter. we need to find count of columns in a file.

Input :

   We have a file as shown below.



Solution: