☰

Free Gravity Forms add-on

Count

Show entry counts and totals from your forms on any page

Count is a free Gravity Forms add-on that counts entries or adds up a Number field across entries and shows the result with one shortcode. You can filter on field values, dates, the user, read, starred or approval status and Gravity Flow steps, count several forms at once and format the number.

A charity run page shows live statistics from form entries: runners registered, places left, money raised, km pledged and counts per distance. After a sign-up, the confirmation says runner #42 and every number has gone up.

For site owners who want to show form totals, such as sign-ups, votes or sales, on their site without exporting entries.

One shortcode, no exports

Put the number of entries or the total of a Number field straight on a page. No spreadsheets and no manual counting.

Count exactly what you need

Filter on field values, dates, the user who submitted, approval status and workflow steps, so the number answers your question.

Free

Count is free to download from the WordPress plugin directory and works next to Gravity Forms.

Use cases

  • Show how many people have registered for an event on the event page.
  • Track sales per salesperson by adding up an order amount filtered on the salesperson field.
  • Show logged-in users how many entries they have submitted.
  • Show how often each answer of a Poll field was chosen.
  • Report weekly or monthly sign-ups with relative dates such as -1 month.
  • Show how many requests are waiting at a Gravity Flow approval step.

Features

  • Count entries or sum a Number field

    [gravitywp_count formid="2"] shows the number of entries in form 2. Add number_field="4" and it shows the total of that Number field across the entries instead.

  • Filter on field values

    Use up to five filters with filter_field, filter_operator and filter_value, and choose whether all or any filter must match with filter_mode. Operators include is, isnot, not_equal, greater_than, less_than, contains, starts_with and ends_with.

  • Filter on dates, users and status

    Count entries between a start_date and end_date, also with relative dates like -1 week. Count only the logged-in user’s entries with created_by="current", and filter on read, starred or approved entries with is_read, is_starred and is_approved.

  • Filter on Gravity Flow steps

    Count the entries that are at a workflow step with workflow_step, and filter on pending or complete steps with workflow_step_status and workflow_step_is_current.

  • Count several forms

    Count entries of several forms together with formid="1,2,3", or leave out formid to count all entries on your site.

  • Calculate and format the result

    Multiply the result with multiply or add a number with add_number, and set decimals, dec_point and thousands_sep for your visitors. Developers can change the output with the gwp_count_result filter.

Ready to use Count? Free download.

Download for free

Why GravityWP

Gravity Forms specialists since 2014. The people who build the add-ons also answer your questions.

5.0/5from 30 reviews on WordPress.org and GoogleRead more

Built the Gravity Forms way

Our add-ons use the official Gravity Forms add-on framework, so settings, feeds and entries work the way you already know.

Compatibility guaranteed

Works with current Gravity Forms versions and certified add-ons like Gravity Flow, GravityView and Gravity Perks. If something conflicts, we fix it.

Support from the developers

Your question goes straight to the people who wrote the code. Good feature requests often make it into the next release.

What customers say

This plugin pairs beautifully with GravityView. I was able to sum rows of similar entries on the front end of Multiple Entries table. Perfect if you need to track the sales of individual sales people, order amounts from similar customers, etc.
rochekaid, review on WordPress.org
Love this plugin… allows you to take data that’s otherwise likely to be forgotten and bring it to the centre of your website.
pseudostave2, review on WordPress.org
Simple plugin that delivers powerful results. Big thanks to the developers!!!
Chapmanmarketingsolutions, review on WordPress.org

More about GravityWP

Free download

Count is free.

Download for free

Questions before you start? Ask us

Frequently Asked Questions

Is Count free?

Yes. Count is a free add-on that you install from the WordPress plugin directory.

How do I count all entries in a form?

Use the basic shortcode with your form ID, for example [gravitywp_count formid="2"]. Without formid it counts all entries of all forms on your site.

How do I sum a Number field across entries?

Add the ID of the Number field, for example [gravitywp_count formid="2" number_field="4"]. Non-numeric and empty values are skipped.

Can I filter on dates or relative dates like last week?

Yes. Use fixed dates in mm/dd/yyyy format or relative dates in start_date and end_date, for example [gravitywp_count formid="2" start_date="-1 week" end_date="now"].

Does Count work with GravityView approval and Gravity Flow?

Yes. With GravityView active, is_approved="yes" counts only approved entries, and workflow_step="5" counts the entries at Gravity Flow step 5.

How do I format decimals and thousands separators?

Set them in the shortcode, for example [gravitywp_count formid="2" number_field="4" decimals="2" dec_point="." thousands_sep=","].

Examples

What you wantShortcode
Number of entries in form 2[gravitywp_count formid="2"]
Total of Number field 4 in form 2[gravitywp_count formid="2" number_field="4"]
Entries where field 3 is “IT developer”[gravitywp_count formid="2" filter_field="3" filter_value="IT developer"]
Entries in the last week[gravitywp_count formid="2" start_date="-1 week" end_date="now"]
Entries of the logged-in user[gravitywp_count formid="2" created_by="current"]
Total of approved entries, two decimals[gravitywp_count formid="2" number_field="4" is_approved="yes" decimals="2" dec_point="." thousands_sep=","]
Entries at Gravity Flow step 5[gravitywp_count formid="2" workflow_step="5"]
Entries of forms 1, 2 and 3 together[gravitywp_count formid="1,2,3"]

You can also write the shorter gwp_count instead of gravitywp_count. All attributes are described in the documentation.

Requirements

  • Gravity Forms
  • WordPress, tested up to 6.8
  • Optional: GravityView, for counting approved or unapproved entries
  • Optional: Gravity Flow, for filtering on workflow steps

Current version 0.9.15, updated 25 February 2026. View the changelog

Documentation and tutorials

All Count documentation

Changelog of Count

0.9.15

  • Added the possibility to use 'gwp_count' as a short alternative for 'gravitywp_count'.

0.9.14

  • Fix a bug introduced in 0.9.12, where the total entries of all forms wasn't counted anymore when the formid parameter is not present.

0.9.13

  • Correct version number.

0.9.12

  • Minor optimization: Validate form ids before running the query.

0.9.11

  • Option to use form_id instead of formid as parameter.

0.9.10

  • Fix for greater_than and less_than operators not working.= 0.9.9 =
  • PHP 8+ compatibility for calculations.

0.9.8

  • Added the gwp_count_result filter to allow modification of the shortcode output.
  • Improved documentation.= 0.9.7 =
  • Added the possibility to count entries from multiple forms.
  • Added support for relative date filters.

0.9.7

  • Added the possibility to count entries from multiple forms.
  • Added support for relative date filters.

0.9.6

  • Adhere to WordPress coding standards.
  • Tested with WP 5.8.
  • Updated urls for the new https://gravitywp.com.

0.9.5

  • **Important:** The page_size attribute is no longer supported to avoid confusion and unintended results. It now defaults to the total entry count.
  • Non-numeric values will be ignored when calculating the total of a field. This prevents a php warning message when a field is empty or contains a non-numeric value.
  • Added support for translations.

0.9.4

  • Change default page_size from 200 to 10000 for counting number fields
  • Added information about page_size to readme.txt

0.9.3

  • Added attribute for filtering on workflow steps in Gravity Flow (workflow_step="30" workflow_step_status="pending,complete" workflow_step_is_current="false"). Credits to Yoren Chang.

0.9.2

  • Added attribute for filtering on approval status in Gravityview (is_approved="yes" is_approved="no"). Thanx Gravityview for support!

0.9.1

  • Checks first if Gravity Forms is active
  • Added attribute for filtering with date range (start_date="" end_date=""). Add in Month/day/Year, eg 12/31/2017.

0.9

  • Added attribute multiply (standard is 1, multiply="2" will double, multiply="0.5" will half, etc)
  • Added a value to attribute created_by="current" (this will count only the entries or numberfields filled in by the current logged-in user)

0.8

  • Added attribute page_size (standard is 500).
  • Added attribute is_starred (yes to count only starred entries, no to count only not starred entries, empty to show all)
  • Added attribute is_read (yes to count only read entries, no to count only not read entries, empty to show all)
  • Added attribute created_by (to count only the entries from a specific user ID)
  • Updated the Readme.txt and added information that this plugin won't work when Gravity Encryption is enabled

0.7

  • Added attribute add_number="" to the shortcode. With this attribute you can add or subtract a number from the output. For example add_number="100" will add 100 to the output. For example add_number="-100" wil subtract 100 from the output.

0.6

  • Added filter_operator (conditional logic) attributes for filtering to shortcode (default: is | other options: isnot, not_equal, greater_than, less_than, contains, starts_with, ends_with)
  • Added formstatus attribute to shortcode (default: active | other options: spam, trash, all )
  • Added filter mode options to attribute of the shortcode filter_mode (default: all | other options: any)
  • Improved structure of the code for easier adding of extra possibilities
  • Added 3 more filter options: filter_field3, filter_field4, filter_field5 (+ operators and values e.g. filter_operator3, filter_value5 etc)

0.5

  • Cleaned up the code (removed the old shortcodes, so please update your shortcodes! No backward compability)
  • Exclude entries that are in trash
  • Set default formid to zero

0.4

  • Make only 1 shortcode that automatically manages the input
  • Updated readme.txt

0.3.1

  • Set default values for decimal, dec_point and thousands_sep
  • Cleaned up some code
  • Updated the readme.txt

0.3

  • Added shortcode for counting total number of entries
  • Added shortcode for counting total number of entries with 1 filter
  • Added shortcode for counting total number of entries with 2 filters
  • Added shortcode for counting total number of entries which are starred
  • Updated the readme.txt

0.2

  • Added decimal and thousand seperator
  • Added multiple shortcodes (for different filtering options)
  • Updated the readme.txt

0.1

  • Added only the function to count the total of a number field for multiple entries in Gravity Forms

Start using Count today

Show entry counts and totals from your forms on any page

Download for free
Proudly powered by WordPress