Is there some way of put count in with clause of Query builder?

hi people i make a clone of twitter and i get “tweets” of this way :

        const tweets = await Post.query()
            .whereIn('user_id', followersIds)
            .with('user')
            .with('favorites')
            .with('replies')
            .orderBy('created_at', 'DESC')
            .paginate(params.page, 3)

the problem is that in this method i get tweet whit all replies tables and i only need the tweet whit count or “replies.lenght”.

I thought of use a bucle for this but possibly exist another way 4 make this in query builder…

tkx 4 the help