find . -type -f ls |grep 'Jun 22' | wc -l
this is wrong:
-type -f ls
what does the following give you?
find . -type f -name '*.trm' -ls |grep 'Jun 22' | wc -l
-atime/-mtime are relative specs - relative to the time of the execution.
File's data was last modified n*24 hours ago. See the comments
for -atime to understand how rounding affects the interpretation
of file modification times.
File was last accessed n*24 hours ago. When find figures out
how many 24-hour periods ago the file was last accessed, any
fractional part is ignored, so to match -atime +1, a file has to
have been accessed at least two days ago.
find $HOME -mtime 0
Search for files in your home directory which have been modified in the
last twenty-four hours. This command works this way because the time
since each file was last modified is divided by 24 hours and any re‐
mainder is discarded. That means that to match -mtime 0, a file will
have to have a modification in the past which is less than 24 hours
So you're not really comparing apples to apples...
If you want to identify the differences... instead of
...| wc -l spool both commands to files and find the differences (a file exists in one listing and not the other and vice versa) to see how the listings differ - this can easily be done with