Return the number of ops in the script (not counting the dynamic ones that depend on execution).
Declared in <script/miniscript.h>
<script/miniscript.h>
uint32_t GetStaticOps() const;
The static op count of the script.