#StackBounty: #org-mode #org-agenda Count number of visible tasks in org agenda

Bounty: 50

I want to programmatically count the number of tasks that are visible in my current org-agenda. Specifically I want to know if there are zero.

Importantly, I do not want to count tasks which are blocked and 'invisible. (This is why simple hacks like count-lines and search-forward TODO do not work. They count the invisible tasks.)


Get this bounty!!!

Leave a Reply