That can also affect the number of words per page. Depending on the assignment, the Professor may require students to divide their papers into sections, with headings and subheadings.
How many words there are on a page depends on the font type, font size, spacing, margins and paragraph length. How many words per page generally depends on what word processor settings you're using.