Similar Items: Polynomial Size Analysis of First-Order Shapely Functions