Renamed component-count method, fixed breakage on path failure

Signed-off-by: Soumya Deb <debloper@gmail.com>
Merge pull request #5 from debloper/master

Fixed custom BZ-lib "... has no method 'countComponents'" error