Plants do not remember the way humans do, but still, in their botanical way, they detect light, know one color from another, remember how long a light or a darkness lasts which, I guess is a form of time keeping, primitive counting ??? and they do all this without a brain.