--- title: "Get Count Step" slug: "get-count-step" updated: 2025-07-09T13:13:50Z published: 2025-07-09T13:13:50Z canonical: "documentation.decisions.com/get-count-step" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Get Count Step | ## Step Details | | --- | | **Introduced in Version** | --- | | **Modified in Version** | --- | | **Location** | Communication > Email > IMAP/POP | The **Get Count** step for IMAP and POP email servers returns the number of emails on the server. --- ## Properties #### Input | Property | Description | Data Type | | --- | --- | --- | | Folder | Name of the Folder the emails are located in. (Inbox, Spam, Trash, etc.) | String | | Password | The password of the user connecting to the email server | String | | Port | Port number of the email server | Int32 | | Secure Connection | Used if the email server credentials require a secure connection | Boolean | | Server | IMAP or POP email server. | String | | Unread Messages Only | Specifies whether only unread messages are returned | Boolean | | Username | Username to connect to the email server | String | #### Output | Property | Description | Data Type | | --- | --- | --- | | Done | | | Count | Outputs the number of emails | Int32 | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1666725640661.png) Related Information Forum Posts: [Using Email Steps with Gmail Issue](https://community.decisions.com/discussion/28107/using-email-steps-with-gmail-issue)