Two remarks about spectral asymptotics of pseudodifferential operators