But the script is hashed, nodes cannot know the size and content of the script until someone tries to spend from it!
that is correct but i was talking about while that hashed script inside the output is being spent, that is when the redeem script is revealed.
well these are all standard as they are using correct OP codes for numbers meaning 0x52 (which is OP_2) for example instead of using OP_PUSHDATA1.