This is how it has been done. . The description is detailed to year-month-days of each and every king who ruled. By adding the total number of years of the four dynasties from Yudhishthir to Vikramaditya, it comes to 3,178
Read this post on ramanan50.wordpress.com