How do I manually select the number of frames in a template?