add logging count in topics and posts warn logs
flow fixes