Estimating and testing the number of interesting components in linear dimension reduction
