[SWANcom] Item count and random sampling