M001: How to implement count function in Browser IDE

Hi All,

I am trying to count the output based on the filter applied in “In Browser” IDE, however not able to. Could you please share the count syntax to be used.

For e.g. in attached image, I should be able to see count as 2, instead of 2 results displayed.

Hi @GAJENDRA_SINGH,

Kindly use the inbuilt IDE in the course to perform the query using the count() function to get the required output.

In case you have any doubts, please feel free to reach out to us.

Best Regards,
Kushagra Kesav,
Curriculum Services Engineer

Hi Kushagra, Could you please let me know how do I access the inbuilt IDE?

Thank you

The IDE is explained in Chapter 1: What is MongoDB? - Introducing the In-Browser IDE.

To resume it is integrated into the course material and will find it in the last section of a chapter.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.