How does Hamlet react when he learns of Ophelia's death What does he claim for the first time?

Hamlet's line is "What? The fair Ophelia?" which could be delivered in a lot of different ways depending on how actor and director feel about what he is really feeling. Shortly thereafter he is so offended by Laertes' ridiculous and melodramatic show of grief that he shows himself, saying "Who is he whose grief bears such an emphasis?" He is not thinking about Ophelia here but rather about Laertes. It is only in the context of comparing himself to Laertes that he says for the first time "I loved Ophelia." Again it is up to director and actor to decide how sincere he is in saying that.