- Added new function to allow user to get the number of allocation of determined class