Need some help please for number of files in usr bin directory in Mac

I am asking about the /usr/bin/ folder in Mac Mojave. This site shows just a few files in this folder but my Mac which has been taken over for over 3 years shows 977 files in the /usr/bin/ folder.

Can someone please clarify this for me. How many files should be in the /usr/bin/ folder after a new install. Using Mojave 10.14.3 with new install yesterday.

Thank you

Having around that many files in /usr/bin folder is normal.

For a Mac recently updated to Mojave, there are total 969 files and folders, you can use below command to calculate that

$ ls -lh /usr/bin/* | wc -l

Below is segregation of all entries

Type Total numbers
Regular file (f) 875
Symbolic link (l) 94
Block special (b) 0
Character special (c) 0
Directory (d) 0
FIFO ยง 0
Socket (s) 0
Total 969

In order to calculate specific type of entries in /usr/bin/ folder, use below commands

For block special use

$ find /usr/bin/* -maxdepth 0 -type b -print | wc -l

For character special use

$ find /usr/bin/* -maxdepth 0 -type c -print | wc -l

For directory use

$ find /usr/bin/* -maxdepth 0 -type d -print | wc -l

For regular file use

$ find /usr/bin/* -maxdepth 0 -type f -print | wc -l

For symbolic link use

$ find /usr/bin/* -maxdepth 0 -type l -print | wc -l

For FIFO use

$ find /usr/bin/* -maxdepth 0 -type p -print | wc -l

For socket use

$ find /usr/bin/* -maxdepth 0 -type s -print | wc -l

If you are mentioning about usr directory structure at Usr directory structure in Mac, details of /usr/bin/ directory are not mentioned yet