Extracted the import-check for counting purposes
count_items implemented
Merge pull request #91 from csenf/morecounting

Morecounting