As many others have said, “pile” is not about number: it’s about distribution. I’d suggest trying to specify the overall slope of a number of objects or something: if it rises at a certain rate it becomes a pile rather than a layer, up until it becomes a tower. Or something like that.