SELECT
	Count(0)
FROM
	[PageRevision] as PR
WHERE
	PR.PageId = @PageId