Added count activity method