Why we take different mfcc components in different programs?
The number of coefficients is just one of the many parameters to tweak when designing a classifier. For speech analysis it turned out that usually 8-14 coefficients are sufficient, and increasing the number of coefficients beyond 14 does not improve the performance for most applications. The exact number you choose will depend on your task at hand. Most systems I've worked with used 12 coefficients, and that was for speech recognition. If you're not sure, you can simply run some experiments and change the number of MFCCs in a reasonable range to see the effect it has for your application. But I have no doubt that you'll end up in the range that I've mentioned above.