Ecto.Query.API.count

You're seeing just the function count, go back to Ecto.Query.API module for more information.

Counts the entries in the table.

from p in Post, select: count()

Counts the given entry.

from p in Post, select: count(p.id)

Counts the distinct values in given entry.

from p in Post, select: count(p.id, :distinct)