Adding ability to get counts instead of full logs