How do i get a count of max items?

Original text of this message