Cassandra does not provide a way to count the number of rows, the best you can do is a series of range calls and count them on the client side http://thobbs.github.com/phpcassa/tutorial.html
If this is something you need in your app consider creating a custom secondary index to store the row keys and counting the columns. NOTE: counting columns just reads aol the columns, for a big row it can result in an OOM. Cheers ----------------- Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 20/07/2011, at 8:29 AM, Jean-Nicolas Boulay Desjardins <jnbdzjn...@gmail.com> wrote: > Hi, > > How can I get the number of rows with PHPCassa? > > Thanks in advance.