I am getting videos from firebase firestore by using this query:
FirebaseFirestore.instance.collection('videos').where('uid',isEqualTo: widget.uid).get();
I am getting the videos of particular user id but how can I get the length of videos that how many videos has been posted/stored by this particular current user 'uid'. I want to know the numbers of videos that user holds. So basically I need this to hide the container where I display videos, if there is no video by this user id.