Endon.count

You're seeing just the function count, go back to Endon module for more information.
Link to this function

count(column \\ nil, conditions \\ [])

View Source

Specs

count(atom() | nil, where_conditions()) :: integer()

Get a count of all records matching the conditions.

You can give an optional column; if none is specified, then it's the equivalent of a select count(*).

conditions are anything accepted by where/2 (including a Ecto.Query.t/0).