How to create a menu like the one on edublogs?

Hello i am interested in knowing how we can achieve a menu like the one edublog haves for logged in users.

Especially the Your Dashboard and your blogs menu.

I am using divi theme and would like to have this for the secondary menu with the number of blogs and the login sign up for non logged in and the your dashboard and your blogs menu.

I have seen somewhere someone that explained how to make a shortcode to output the number of users and sites.