# How to get number of buried cards for the day?

**URL:** <https://forums.ankiweb.net/t/how-to-get-number-of-buried-cards-for-the-day/21720>\
**Category:** Add-ons\
**Created:** [July 24, 2022, 8:40am UTC](https://forums.ankiweb.net/t/how-to-get-number-of-buried-cards-for-the-day/21720 "2022-07-24T08:40:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlos1172](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/carlos1172/32/4677_2.png) [@carlos1172](https://forums.ankiweb.net/u/carlos1172)\
**Post date:** [July 24, 2022, 8:40am UTC](https://forums.ankiweb.net/t/how-to-get-number-of-buried-cards-for-the-day/21720/1 "2022-07-24T08:40:42Z")

</div>

Hi,

I am the author of [Review Statistics During Review (Cards done, Left, s/card, spent, left, ETA) - AnkiWeb](https://ankiweb.net/shared/info/1695607349)

I’d like to update the total by subtracting the number of buried cards as seen after the plus signs in this picture:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/a/aec1594a1619c962e916f8e1027f3054e30b63bf.png)

How does one do that?

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [July 27, 2022, 9:04am UTC](https://forums.ankiweb.net/t/how-to-get-number-of-buried-cards-for-the-day/21720/2 "2022-07-27T09:04:52Z")

</div>

If you look at the source code of that screen, you’ll see they are derived by comparing the due values from the deck list.

---

<div class="post-metadata">

**Author:** ![carlos1172](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/carlos1172/32/4677_2.png) [@carlos1172](https://forums.ankiweb.net/u/carlos1172)\
**Post date:** [July 27, 2022, 9:17am UTC](https://forums.ankiweb.net/t/how-to-get-number-of-buried-cards-for-the-day/21720/3 "2022-07-27T09:17:36Z")

</div>

Would you know how to call for that in an addon? I’d like to subtract the plus values from my addon’s total cards left value.
