Currently i am doing it like this:
DatabaseReference reference = FirebaseDatabase.DefaultInstance.GetReference("Leaders").Child("List1");
reference.GetValueAsync().ContinueWith(task =>
{
int totalChildren = (int)task.Result.ChildrenCount;
//Do more stuff
}
I thought, why get whole Snapshot to count how many children.
Any different way without fetching whole Snapshot?