SELECT *, COUNT( * ) AS total FROM projectcategory GROUP BY nama_kategori