Great question! In your subscription plan we only count the number of incoming messages to your bot on live stage. So, whenever users are having conversations with your bots, we only count messages sent by the very same users with bots on live.
Note: There is a limitation of daily users for bots on dev or test, so you only have limited accessibility for those stages. This might be important for your testing phases when you consider testing it with a lot of testers.