Messages received from automatic responses are included. e.g. time off auto-responders, auto-replies.
Messages are attributed to inboxes at the time when they are sent or received. Moving a conversation from inbox A to B does not affect the count of messages that happened in A before the move.