For some reason this:
guidesLayer = doc.ActivePage.Layers["Guides"];
Console.WriteLine(guidesLayer.Shapes.Count);
return 0, despite that it's full with guides. What Im doing wrong? Or just cant fetch elements form IsGuidesLayer type object?