---
title: "Discussion on \"Fetching array counts with Mongoose\" | Hashnode"
description: "Discussion on \"Fetching array counts with Mongoose\". How to fetch the number of items in an array using Node.js, MongoDb and Mongoose."
url: "https://hashnode.com/posts/fetching-array-counts-with-mongoose/5fe9b45dc0c31a41479b6699"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Fetching array counts with Mongoose](https://markestedt.hashnode.dev/fetching-array-counts-with-mongoose?utm_source=hashnode&utm_medium=feed)

How to fetch the number of items in an array using Node.js, MongoDb and Mongoose.

Dec 28, 2020 · 2 min read · markestedt.hashnode.dev  
Updated Dec 13, 2021  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#mongodb](https://hashnode.com/tag/mongodb)
-   [#mongoose](https://hashnode.com/tag/mongoose)
-   [#array](https://hashnode.com/tag/array)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Sebastian Markestedt](https://hashnode.com/@markestedt)

@markestedt · Sweden

  
[View profile](https://hashnode.com/@markestedt)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
