I am not a dev, but can you explain a bit more on your use case? It might be a simple scheduling thing to get the functionality you want. Or with a better description, someone might already know a way to do what you are trying to do.
What is the frequency of showing, how often are you needing only the one, versus the “large” quantity?