adds count command and tests
adds count command and tests: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: adds count command and tests
The task
**Title:** adds count command and tests
Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.