static bool OptionCount( CompositorScriptContext context, string introducer, int expectedCount, int count ) { if ( expectedCount < count ) { LogError( context, "The '{0}' phrase requires {1} arguments", introducer, expectedCount ); return false; } else return true; }