# How to count things in numerically stable way

**URL:** <https://community.wolfram.com/t/how-to-count-things-in-numerically-stable-way/22051>\
**Category:** Staff Picks\
**Tags:** data-science, graphics-and-visualization, high-performance-computing, modeling, statistics-and-probability, staff-pick\
**Created:** [May 9, 2023, 12:44pm UTC](https://community.wolfram.com/t/how-to-count-things-in-numerically-stable-way/22051 "2023-05-09T12:44:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yaroslavvb](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/yaroslavvb/32/1887_2.png) [@yaroslavvb](https://community.wolfram.com/u/yaroslavvb)\
**Post date:** [May 9, 2023, 12:44pm UTC](https://community.wolfram.com/t/how-to-count-things-in-numerically-stable-way/22051/1 "2023-05-09T12:44:12Z")

</div>

[Open in Wolfram Cloud ↗](https://www.wolframcloud.com/obj/bf4ab361-2166-41a0-a183-80d83784adb0)

---

<div class="post-metadata">

**Author:** ![wolframcommunity](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/wolframcommunity/32/8335_2.png) [@wolframcommunity](https://community.wolfram.com/u/wolframcommunity)\
**Post date:** [May 9, 2023, 1:08pm UTC](https://community.wolfram.com/t/how-to-count-things-in-numerically-stable-way/22051/2 "2023-05-09T13:08:19Z")

</div>

![news-congrads-kkluyshnik-02-04-19.jpg](https://global.discourse-cdn.com/wolfram/original/3X/6/a/6a310c2d0904616faf4e6e148260c9f29ab9f4eb.jpeg) – you have earned _ **Featured Contributor Badge** _ ![2015-11-02_10-07-11.png](https://global.discourse-cdn.com/wolfram/original/3X/5/0/50e59c9ead62f729e7130d3ea1482555a75602b6.png)  
Your exceptional post has been selected for our editorial column _ **Staff Picks** _ [http://wolfr.am/StaffPicks](http://wolfr.am/StaffPicks) and [Your Profile](http://community.wolfram.com/web/yaroslavvb) is now distinguished by a _ **Featured Contributor Badge** _ and is displayed on the [Featured Contributor Board](https://community.wolfram.com/people). Thank you!
