The plant that learned to count