Remove function numCommmands. Remove storage of '|' in vector