The "number of years' purchase" at the time of valuation of goodwill refers to a method used to calculate the value of goodwill based on the anticipated future profits or earnings of a business. It represents the multiple of the business's annual profits (or earnings) that will be paid to acquire the goodwill of that business.