add studyInfo and implement count service