Three quarters of the most serious terrorist plots being investigated by the UK authorities are linked to Pakistan, Gordon Brown has said.