/usr/share/fish/man/man1/count.1 is in fish-common 2.4.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | .TH "count" 1 "Sun Dec 11 2016" "Version 2.4.0" "fish" \" -*- nroff -*-
.ad l
.nh
.SH NAME
\fBcount\fP -- count the number of elements of an array
.PP
.SS "Synopsis"
.PP
.nf
\fBcount\fP $VARIABLE
.fi
.PP
.SS "Description"
\fCcount\fP prints the number of arguments that were passed to it\&. This is usually used to find out how many elements an environment variable array contains\&.
.PP
\fCcount\fP does not accept any options, including \fC-h\fP or \fC--help\fP\&.
.PP
\fCcount\fP exits with a non-zero exit status if no arguments were passed to it, and with zero if at least one argument was passed\&.
.SS "Example"
.PP
.nf
\fBcount\fP $PATH
Returns the number of directories in the users PATH variable\&.
.fi
.PP
.PP
.PP
.nf
\fBcount\fP *\&.txt
Returns the number of files in the current working directory ending with the suffix '\&.txt'\&.
.fi
.PP
|