Row count task is giving error message in SSIS.

Hi friends,
I have tried to use Row Count Task in SSIS. I just want to count the incoming rows and to save the count value in a variable. I tried all the possible properties and options in this task. It was hard for me to configure this task. It was always giving an error in the Editor page itself. Please help me to configure and get the desired results.
Thanks.
