You don't get Horatio from the Hamlet Play mission. You only get Shakespeare from that mission or a holo entertainer if you already got Shakespeare. You get Horatio and all the other Hamlet Doffs from the Holo novel code fragments from the Ferengi Lockboxes