To determine the total number of beams, we need to understand the scenario: We have 20 pillars in a circular arrangement. Each pillar is connected to all its non-adjacent pillars by a beam.
Therefore, the total number of beams is 170, which matches the given correct answer.