# Documentation explaining function supplied to \`count\` in Julia Docs?

**URL:** <https://discourse.julialang.org/t/documentation-explaining-function-supplied-to-count-in-julia-docs/102428>\
**Category:** General Usage\
**Tags:** question, documentation\
**Created:** [August 3, 2023, 1:50am UTC](https://discourse.julialang.org/t/documentation-explaining-function-supplied-to-count-in-julia-docs/102428 "2023-08-03T01:50:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bojohnson02](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bojohnson02/32/9345_2.png) [@bojohnson02](https://discourse.julialang.org/u/bojohnson02)\
**Post date:** [August 3, 2023, 1:50am UTC](https://discourse.julialang.org/t/documentation-explaining-function-supplied-to-count-in-julia-docs/102428/1 "2023-08-03T01:50:16Z")

</div>

I came across a particular function supplied to `count` in the [documentation](https://docs.julialang.org/en/v1/base/collections/#Base.count) I wasn’t aware of previously. The `>(3)` in `count(>(3), 1:7, init=0x03)` is something I’ve been looking to replicate but didn’t know existed. Is there anywhere in the documentation which details this functionality?

---

<div class="post-metadata">

**Author:** ![PeterSimon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petersimon/32/25193_2.png) [@PeterSimon](https://discourse.julialang.org/u/PeterSimon)\
**Post date:** [August 3, 2023, 3:15am UTC](https://discourse.julialang.org/t/documentation-explaining-function-supplied-to-count-in-julia-docs/102428/2 "2023-08-03T03:15:46Z")

</div>

See [this](https://docs.julialang.org/en/v1/base/math/#math-ops) section of the documentation, or if you ask for help on `>` in the REPL you get

```julia
help?> >
...
  >(x)

  Create a function that compares its argument to x using >, i.e. a function equivalent to y -> y > x. 
...

```
