allow RestrainCommand to pass count to restrained mappings