lineage and countbot modified to include domain,division, and class [still testing]