tooltip for count() [vega-lite]

Hi everyone, apologies in advance - I’ll be asking some pretty basic noob questions. First one is: how do we display a tooltip for count()?

vl.tooltip().field("Name") works when I’m displaying the value of a column in my dataset but can I show the value of an aggregation? For example, I have vl.x().count() for my x-axis and I’d like to display that value when I mouseover a bar chart.

Found the solution in Mónica Ruiz’s Ejercicio D3- VegaLite Notebook using
"aggregate": [{"op": ..., "field": ..., "as": ...}],