FIX: topic_creator accepts participant_count in import mode (PR #10632)

The issue mentioned here:

participant_count is important to attribute for private messages. If they are imported, we should allow them to set that attribute.

A workaround would be evaluating update_statistics method on each Topic but that is less performant.


This pull request has been mentioned on Discourse Meta. There might be relevant details there: