Adding python alternative to Cassandra count