I am writing a plugin for my company so I need to get all posts belongs to a user between a certain date which is given by another user.
Then I want to count words for each post and finally add them up to a variable and save that value to the database.
There are two main questions:
1- How to get all posts belongs to a user between a certain date?
2- How to get word count for each post?