(1) Determine the amount of statues
05AB1E, 15 bytes
„-|v€Åγ˜y¢Iø}Š+

Try it online!
Commented:
„-|              # push string literal &quot;-|&quot;
   v        }    # iterate over this string
    €Åγ          #   run-length encode each line of the input / transposed input
                 #   this pushes the chunk elements and the chunk lengths
       ˜         #   flatten the list
        y¢       #   count the chunks of the current character
          Iø     #   push the transposed input to the stack for the second iteration
             Š   # triple-swap: move the transposed input to bottom
              +  # sum both counts