Add relationship counts and ui dropdowns.