FEAT: Implement getReferenceCount()
Adds a function for checking if/how many objects of a certain type exist in a cell. This is mainly so we can have a check to see if there is any work to do before calling getAll() or doing any other expensive work on the cell.