moved item counting in SimpleItemHandler from write(..) into handle(..) method so that it isn't overriden in subclasses + tests
moved item counting in SimpleItemHandler from write(..) into handle(..) method so that it isn't overriden in subclasses + tests