Try this method;
First get Counts into Set variable
Set(VarCountTo-DO,Count(Filter({YourDataSource},{ChoiceFiled}="To Do")));
Set(VarIn Progress,Count(Filter({YourDataSource},{ChoiceFiled}="In Progress")));
Set(VarPublished,Count(Filter({YourDataSource},{ChoiceFiled}="VarPublished")));
Create one collection for Status
Clearcollect(ColStatus,{Status:"To Do",Count:VarCountTo-DO},{Status:"In Progress",Count:VarIn Progress},{Status:"Published",Count:VarPublished})
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. , please consider giving it Thumbs Up.