// For complete examples and data files, please go to https://github.com/groupdocsconversion/GroupDocs_Conversion_NET
/// To get pages count of a document which will be converted
public static void GetDocumentPagesCountAsPath()
{
// Instantiating the conversion handler from custom common class
ConversionHandler conversionHandler = Common.getConversionHandler();
// Convert and save converted spreadsheet documents.
// Returns paths to the converted documents.
var count = conversionHandler.GetDocumentPagesCount(Common.inputGUIDFile);
Console.WriteLine(count);
}