Update tabs count from filters

Is it possible to catch table query after applying filters and use it in tabs badge?
->badge($query->count())


Something like $this->getTableQuery() || $this->getFilteredTableQuery() but getFilteredTableQuery returns cannot be accessed before init and getTableQuery doesn't have filters/tab filters..

On $this->getTable()->getQuery() I get nginx timeout error
Was this page helpful?