Perform a sanity check on count arguments