added getSize example
Merge pull request #9 from lewenhagen/master

added getSize example