Factor out getting the counts required for the tests
Factor out getting the counts required for the tests

This makes all the code more listy.

Signed-off-by: mulhern <7b51bcf507bcd7afb72bf8663752c0ddbeb517f6@redhat.com>

trgill/stratisd,trgill/stratisd,stratis-storage/stratisd,stratis-storage/stratisd,mulkieran/stratisd,mulkieran/stratisd,stratis-storage/stratisd