The word “somewhat” is an adverb that modifies the adjective “earlier”.
I believe the answer is Verb
6.5m questions
8.7m answers