Manage family change control via dynamo script

Hi All!

I wondered if you had any advice for me with regards to organising and managing revit Families using dynamo.
The goal in the end is to use the script to build a visual family guide or family learning resource where types and categories are grouped in logical ways to assist designers with decisions around the need for new family creation and the auditing of outdated unused ones, hence the plot of the 805 points along the X - Axis.

I have built up the following logic thanks to Kulkul who’s python node initiates the graph.

Shall appreciate any assistance at this stage - Thanks!