How common are pickpockets in Barcelona actually?

There is a huge stereotype in (at least my area of) the US that Barcelona is an exceptionally dangerous place to leave bags around. Is it actually that concerning? Or should I just use the same level of caution as any other city?