I have SharePoint 2007 single farm environment and created a new web app , restored the Content database which has 452 sites, But after restoring the content database and attached the database to web app, it displays number of sites as 1.
I have tried this in one sever first time, and it worked fine(Current number of sites displayed as 465), then again created a separate web app and attached the database where i restored later shows site count as 1.
Thanks!