Implement rtree_total_fitness.
Rename rtree_count to rtree_size.