On Estimating the Average Degree of a