paragraphs are what'll get you marks moreso than the number of pages, aim for at least 10 paragraphs I'd say (break up longer ones into two as one 8 mark paragraph could become two 6-markers if you break it up, thus making the same amount of info worth more)
4 pages is a rough estimate if you have average sized hand writing, 5 if you have large writing and in exam situations with your hand aching you could write 6 as your writing gets even bigger under stress, i would say dont aim for page numbers. Instead aim for 8 paragraphs for the body of your essay and a conclusion and intro paragraph on top of that. The 8 paragraphs tend to be shorter, to the point and more factual. Always remember to include a topic sentence connecting your argument to the paragraphs. If you are like me and short paragraphs arent for you then i I say write around 6 long paragraphs and the intro and conclusion. For reference ive never gotten below a h1.