added previous items count parameter

usefull information in case you need the absolute number of item in each partition