Added the ability to read list and count from a mongo collection