a table with the number of clients by clinic (firs query);
or an inline JS query (you need to enable inline javascript queries in Settings > Dataview) to obtain the total number of clients.
These are two different queries. You can’t mix DQL with javascript queries.
My suggestion, as always, it’s about the need to read the plugin documentation, because in this exchange of help we need to discuss with some common basic language.