title: how to count the rows in cassandra column family
body: <p>I'm writing a file with user profiles into cassandra with 5M profiles.
  My write operation finished sucessfully.
  I want to count the number of rows in my column family.</p>
  
  <pre><code>Keyspace keyspaceOperator = HFactory.createKeyspace(KEY_SPACE, cluster);
  CqlQuery&lt;String,String,Long&gt; cqlQuery = new CqlQuery&lt;String,String,Long&gt;(keyspaceOperator, se, se, new LongSerializer());
  cqlQuery.setQuery("SELECT COUNT(*) FROM up");
  QueryResult&lt;CqlRows&lt;String,String,Long&gt;&gt; result = cqlQuery.execute();
  System.out.println(result.get().getAsCount());
  </code></pre>
  
  <p>But the following code prints me always 10000.
  What am I doing wrong? And how can I make this operation from cli?</p>