updating/refactoring in moveIssue and getCount methods