Topology of protein metastructure and $\beta$-sheet topology