getAllPromissesFor/donePromisses is only used to get the count for the current item, don't build and pass around a hashmap for that