find directory -type f -printf '%TY-%Tm-%Td\n' | sort | uniq -c