(: Name: fn-nilled-2 :)
(: Description: Evaluation of nilled function with argument set to comment node. :)
(: Use fn:count to avoid empty file :)

(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)

fn:count(fn:nilled($input-context1/works[1]/employee[2]/child::text()[last()]))