Step 1: Simplify Numerator
$9^x - 2 \cdot 3^x + 1 = (3^x)^2 - 2(3^x) + 1 = (3^x - 1)^2$.
Step 2: Evaluate Limit
$\lim_{x \to 0} \frac{(3^x - 1)^2}{\log(1+3x) \cdot \tan 2x} = \lim_{x \to 0} \frac{\left(\frac{3^x - 1}{x}\right)^2 \cdot x^2}{\left(\frac{\log(1+3x)}{3x}\right) \cdot 3x \cdot \left(\frac{\tan 2x}{2x}\right) \cdot 2x}$.
$= \frac{(\log 3)^2 \cdot x^2}{1 \cdot 3x \cdot 1 \cdot 2x} = \frac{(\log 3)^2}{6} = \frac{1}{6}(\log 3)^2$.
Step 3: Compare with $f(0)$
Given $f(0) = a(\log b)^c$. So, $a = 1/6, b = 3, c = 2$.
Step 4: Calculation
$a + b + c = \frac{1}{6} + 3 + 2 = \frac{1}{6} + 5 = \frac{31}{6}$.
Final Answer: (A)