A selective sampling account of forming numerosity representations