Python3 doesn’t like integers prefixed by 0.
Don’t compare int and None.
Simplier item count.