Access Texture Coordinate Index via Material Instance?

I keep seeing the workaround for switching between two coordinate indexes but how about 5 or even 7? Anything over two?