I have the following table. Is it possible to get count of followers for each user with a single CQL select?
create table user_follows ( name text, follows_name text, primary key (name,follows_name) );
name | follows_name
---------+--------------
indrani | aravind
indrani | jorge
indrani | lalitha
indrani | vijay
vijay | aravind
vijay | david
vijay | mark
filmon | david
filmon | jorge
filmon | kishore
filmon | lalitha
filmon | mark
filmon | vijay
david | aravind
david | mark
I have the following query returning count for a single user
select count(follows_name) from user_follows where name='indrani';