Count deals in ZOHO flow

Count deals in ZOHO flow

Hi,

I'd like to to trigger an action when a deal is created and then -based on the deals count- a followup action.

So for example:
trigger an action when new deal is created
If it's the first deal of the customer
Send welcome mail

Or 
trigger an action when new deal is created
If it's the 10th deal of the customer
Make call task (to say thanks)

Is it possible to count deals in ZOHO flow?

Thanks!