New count components methods.
Merge remote-tracking branch 'origin/master'