moved the import of Count outside of the method, to compare perfomance differences on the server