def count_reverse_pairs(test_list):
  
  res = sum([1 for idx in range(0, len(test_list)) for idxn in range(idx, len( 
	test_list)) if test_list[idxn] == str(''.join(list(reversed(test_list[idx]))))]) 
  return str(res)
def count_reverse_pairs(VAR_0):
    res = sum(
        [
            1
            for idx in range(0, len(VAR_0))
            for idxn in range(
                idx,
                len(
                   
                    VAR_0
                ),
            )
            if VAR_0[idxn] == str("".join(list(reversed(VAR_0[idx]))))
        ]
    )
    return str(res)