Skip to content

Commit bb71d4c

Browse files
authored
Update 1-counting-documents.mdx
1 parent ac67fd2 commit bb71d4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/50-counting-sorting/1-counting-documents.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ db.books.aggregate([
1515
]);
1616
```
1717

18-
Counting the books! Let's add a new stage to the pipeline to count those books:
18+
By counting the books! Let's add a new stage to the pipeline to count those books:
1919

2020
```js
2121
let moreThan150pages = {pages: {$gte: 150}}
@@ -32,7 +32,7 @@ db.books.aggregate([
3232
]);
3333
```
3434

35-
Here, `$count` will count the resulting docs and will return a document with just one field: `totalBooks`
35+
Here, `$count` will count the resulting docs and will return a document with just one field: `totalBooks`.
3636

3737
```js
3838
{

0 commit comments

Comments
 (0)