Display website statistics without plugin in WordPress

1. Display post count:

2. Display page count:

3. D[……]