How complex are my stored procedures?