added product count functionality - to be continued