How can I limit frame count by counting a text list?
You may use an Expression node. The two properties you want to edit a scene properties. You can know their path from their python tool-tip (Hover over the property). So the expression node can be as follows: