count for subparts
Merge remote-tracking branch 'upstream/master'
Merge pull request #177 from adamarla/master

Added subpart count