How to find Chats that are transferred from the BOT to the agents and successfully handled in Salesforce?

Sample SOQL:
SELECT COUNT( LiveChatTranscriptId )
FROM LiveChatTranscriptEvent
WHERE Type = 'TransferredToButton' AND LiveChatTranscript.Status = 'Completed'
AND CreatedDate = LAST_N_DAYS:7

Output: