You asked:

how long has gordon brown been prime minister

Sorry, I don't yet have an answer to that question.