What is the condition l::count y in .u.tick?

if[l::count y;L::`$“:”,y,“/”,x,10#“.”;l::ld d]

As far as I can tell y is usually a directory, which should always have a count of 1, allowing the conditional to go ahead?
Is this the case?

When would it not go ahead, and why do we set l to be count y globally?

 

if[l::count y;L::`$“:”,y,“/”,x,10#“.”;l::ld d]

 

The if control word takes a list of expressions. From ":",y,"/" in the second, y must be a string, and appears to be a filepath. The first (test) expression is ‘truthy’: true unless it evaluates to 0, which it will do if y is an empty string.

Without knowing the script, it looks like l is a flag indicating whether something – perhaps L? – has been set, if not from y, then by evaluating ld d.