Does Chat duration count proactive trigger messages?
Yes. Chat duration is calculated from the first message, regardless if it is proactive or not, to the last message on the chat session.
For more information about Chat Analytics, see Monitoring chat activity with Analytics.
For more information on the triggers themselves, see this article: Targeting key visitors with proactive chat.