There is no minimum or maximum number of pages required. The writing sample would normally be a research paper on which the applicant is an author, such as a chapter from an undergraduate or master’s thesis or other research with a recommended length of up to 30 pages.