def test_pos_list_size_list_with_correct_policy(self):
        key = ('test', 'demo', 2)
        policy = {
            'timeout': 1000,
            'retry': aerospike.POLICY_RETRY_ONCE,
            'commit_level': aerospike.POLICY_COMMIT_LEVEL_MASTER
        }
        count = self.as_connection.list_size(key, "contact_no", {}, policy)

        assert 2 == count

    # Negative Tests
Invoke list_size() count list elements with correct policy
dataset/ETHPy150Open aerospike/aerospike-client-python/test/new_tests/test_list_size.py/TestListSize.test_pos_list_size_list_with_correct_policy