skeleton of count done
pyicount works with region-magic, regular region, added logger and some of the flags (not all, trying to get away from Turbomix has some side effects). Added to pyicoregion a debug flag.