Count in table is not returning any data
Wont return data in the table. If i use the sql directly, i get the value
![](https://answer-overflow-discord-attachments.s3.amazonaws.com/1136840400871624764/Screenshot_from_2023-08-04_03-56-51.png)
![](https://answer-overflow-discord-attachments.s3.amazonaws.com/1136840401261711381/Screenshot_from_2023-08-04_03-57-38.png)
1 Reply
Solution
TextColumn::make('locations_count')->counts('locations')