Complete Binary Tree Node Count

# Introduction In this challenge, we will write a function called `countNodes` that takes in the root of a complete binary tree and counts the number of nodes in the tree. The function should return the total count of nodes in the tree. We need to ensure that the function is exported correctly for it to pass the submission.

|60 : 00

Click the virtual machine below to start practicing