Display the number of posts of the current user from a specific term in a CPT


I need to display the number of (published) posts of a specific CPT and a specific term of the current user. I want to display a label which shows the current user "You published XX Vehicles in Category "BMW"(term)"



 This Token requires a custom function. Insert it on the file functions.php on your theme folder.