some code changes for checklist create and count