View, Like and Comment count over REST written in Java