# Count · Intex InstituteA project in, four numbers and a price out

Send a LaTeX project and get back its pages, formulas, figures and tables, with what each Intex service would cost for it. Free, so the price is known before anything is spent.

Address: https://intex.institute/count

[The Index](https://intex.institute/) Count

## Count

A LaTeX project in. Its pages, formulas, figures and tables out, with what each service would cost for it. Free, so the price is known before anything is spent.

Open now

What a count holds. The numbers here are an example.

### What it is for

- Knowing what a semester of lecture notes will cost before converting any of it.

- An agent checking the price of a job before it spends a cent of anyone's credit.

- Finding the long documents, the formula-heavy ones and the ones full of figures, before deciding what goes to people.

### Price

Free. The pages it counts are the pages every other service bills by, so the price it quotes is the price you pay.

### Documentation

POST https://api.intex.institute/v1/count

Send the project as a form upload, with your key in the `Authorization` header. How the key, the upload and the errors work for every service is in [the docs](https://intex.institute/api).

#### The request

| Field | What goes in it |
|---|---|
| `project` | The project as one .zip or .tar.gz, as you would build it today: the .tex files, figures, bibliography and any class or style files of your own. |
| `main` | Optional. The path of the main .tex file inside the archive, when there is more than one. |

#### The response

```
{
  "pages": 12,
  "formulas": 148,
  "figures": 6,
  "tables": 2,
  "cost_cents": {"pdf": 72, "page": 48, "report": 36, "all": 120}
}
```

The numbers are an example. `cost_cents` is what each service would charge for this project, in cents.

### Related

- What each count turns into: [Tagged PDF](https://intex.institute/pdf), [Web page](https://intex.institute/page), [Report](https://intex.institute/report), or [all of it](https://intex.institute/all) in one request.

- For a person to read every page as well: [Intex for universities](https://intex.university/), at five dollars a page.
