Command linux to count number file

If you count a number of file what are not a particolar type you have to do this command :

 

date && /usr/bin/find /srv/pec/Vodafone/PEC_pec_CSA/ -type f -not -name “*.type_you_don’twantcount” | wc -l