I find this solution to be slightly more elegant. You don't need to worry about truncation of table / db names. It also allows you to get info for more than one database at time , given you are proving backups or something of that nature, which is what I did when I came up with this.
What do you think?
There's a column NumRows in my StatsInfo view, which holds the rowcount. You just need to pick the row with the latest CollectTimestamp for each table using ROW_NUMBER: