refs #10187. stop calling searching for groups following POGO.

Use an optional entry number parameter instead of counting workspace group entries in the file. This was the main bottleneck acording to the previous
POGO report. Seems to have generated a massive speedup. Can save as WG of size 512 in < 8 seconds rather than 138 seconds as previously.