Deluge Count Function for Subform is it supported

Deluge Count Function for Subform is it supported

Hi

This

var1 = count(SubForm_1[ID!=0 ]);

Gives the error Form SubForm_1 does not exist in this application

Is there a syntax mistake or is it no supported in such a manner