gratingordercount - Script command