ValuePtr sCountModules(EnvPtr env, ValuePtr args) { using SSM::Craft; Craft* station = Craft::getSingleton(); return new NumberValue(station->countUnits()); }