Asking "how many cousins do you have?"
I would suggest asking separately: 你有多少个堂兄弟姐妹 and 你有多少个表兄弟姐妹, 
because China is a patrilineal society traditionally, relatives of father's side are more closer naturally. 

Of course, things are changing rapidly in China nowadays, this might not be true to every individual any more.