Return only n_components in transform