include total numbers of components in console statement of denoise.R
BUGFIX: stack object included in nlayers() call
..