Well... the two pineapples. That's a little tricky. Depends on
  how you look at it. We're humans. We compress knowledge in our
  brains because we're incapable of bringing into us all the
  uniqueness of existence into our tiny little minds.

  So, however it works, we compress our sensory data into
  patterns.

  These patterns are expressed as simple lines cognitively, filled
  in with colors, matched together as best as our brains can do.

  We represent these patterns we humans use to comprehend reality
  with utilizing categories, a stereotyping of reality.

  Example:
  These is something in front of me.
  I do not know when they were planted and grown. I do not know
  the age. I do not know when they will rot. I do not know the
  molecular configuration of them.

  I look at them. My brain cannot comprehend them in their
  uniquenesses because I don't have enough data to work with. I
  don't have the cognitive capacity to do so. But, the L4 (or is
  it L5?) in my brain traces an "outline" quickly. It compares
  them using a NOR "circuit" (not really a circuit - that's a
  metaphorical connection - brains are brains, computers are
  computers, computers are based on brains, which we often
  forget).

  The line-shapes don't overly conflict making an acceptable
  compression algorithm possible.

  Suddenly, I have two of something.

  They are unique yet we humans make them similar because we must.
  We're not capable of taking in the Universe in its uniquely
  continually changing states. We have to stereotype.

  So are their two pineapples? For humans? Yes. For lifeforms with
  numerosity, Yes.

  But for an electron? No. For a moon? No.

  Do I see 2,393,934,209,384 unique quantum configurations in this
  thing reflecting colors towards my retina and 2,494,383,209,391
  unique quantum configurations in this other thing reflecting
  colors towards my retina?

  No. I can't.

  Therefore, I must compress reality to fit my brain.

  Therefore, I must have 2. I can't have a whole bunch of uniques.