"hits" is a reserved field in Joomla that doesn't take much to add. I believe you just need the "hits" field in the database and everything else is automatic since it's a "reserved database name". You can read more on the joomla JTable instruction page docs.joomla.org/Using_the_JTable_class and the JTable API page api.joomla.org/cms-3/classes/JTable.html
(note: I rewrote the JTable instruction page for J3+ from the information I was able to piece together. It's mostly accurate but I don't think anyone with significant Joomla programming experience has reviewed the information.)
We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.