How to add a post’s view count into the WordPress API response
You have to write the post view count logic. After that you have to call that meta count in in rest API using the below API code. This link will help to get count response in the rest api.